package com.ruoyi.bus.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Description
 * @Author caiyanshan
 * @Date 2021/4/15 14:31
 * @Param
 * @Return
 */
@Data
public class LoginVo {
  
  @NotEmpty(message = "手机号不能为空")
  private String phone;
  
  private String userName;
  
  private Integer userType;//0系统用户, 1普通用户, 2司机用户
  
  @NotEmpty(message = "密码不能为空")
  private String password;
  
  private boolean isRegister = true;
  
}
